/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.gracefulmm.dealImage;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 *
 * @author wenbo
 */
public class ApplicationTest {

    public static void main(String[] args) {
        String imageTitle = DateUtil.convertDateToString(new Date(), DateUtil.CHINESE_YYYY_MM_DD_HH_MM);
        List<String> erroList = new ArrayList<String>();
        UploadImage uploadImage = new UploadImage(ImageTools.getTaobaoClient(), imageTitle,
                "/Users/wenbo/Desktop/pic/test","6101004f25c61b6ea560ea75f3a2977c654316832b3ae49892613908",erroList,null);
        Thread thread = new Thread(uploadImage);
        thread.start();
        System.out.println(imageTitle);
    }
}
